<template>
	<view>
		<uni-card title="基础卡片" extra="额外信息" v-for="(ents,index) in list" :key="index">
			<text>标题：{{ents.theme}}</text>
			<text style="float: right;">发布人：{{ents.jrname}}</text>
			<view>{{ents.content}}</view>
			<br/>
			<text>浏览量：{{ents.num}}</text>
			<text style="float: right;">发布时间：{{ents.jtime}}</text>
			<!-- <text v-show="ents.enstatus==1">在职</text> -->
			
			
			<!-- <uni-tag text="标签" type="error" :circle="true" v-show="ents.enstatus==1"> 在职</uni-tag> -->

		</uni-card>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				departmentid: '',
				jourid:'',
				list: []
			}
		},
		onLoad(res) {
			this.jourid = res.jourid
			this.getAs()
		},
		methods: {
			
			getAs() {
				console.log(this.jourid)
				uni.request({
					url: 'http://localhost:8003/userproject/l/listt/' + this.jourid,
					method: 'GET',
					success: (res) => {
						this.list = res.data.data.list
					}
				})
			}
		}
	}
</script>

<style>

</style>
